package com.cn.kabalifeuser.ui.order.bean;

import java.util.List;

/**
 * Created by 晓林 on 2020/9/22.
 * function:
 */
public class OrderDetailsBean {


    /**
     * code : 200
     * result : {"num":"385484099638398976","original_price":"0.01+1积分","postage":"0.00","discount":0,"total_amount":"0.01+1积分","created_at":"2020-09-23 17:01:03","ok_time":"","goods_info":[{"id":30,"good_img":"http://oss-fang.xiaoxiucai.xyz/good/1600070416GBrgCw.png","uid":7,"order_id":30,"title":"商品1","good_num":1,"spec_key":"白色","integral":1,"original_price":"0.01+1积分","money":"0.01","status":1}]}
     * msg : ok
     */

    private int code;
    private ResultBean result;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean {
        /**
         * num : 385484099638398976
         * original_price : 0.01+1积分
         * postage : 0.00
         * discount : 0
         * total_amount : 0.01+1积分
         * created_at : 2020-09-23 17:01:03
         * ok_time :
         * goods_info : [{"id":30,"good_img":"http://oss-fang.xiaoxiucai.xyz/good/1600070416GBrgCw.png","uid":7,"order_id":30,"title":"商品1","good_num":1,"spec_key":"白色","integral":1,"original_price":"0.01+1积分","money":"0.01","status":1}]
         */

        private String num;
        private String original_price;
        private String postage;
        private int discount;
        private String total_amount;
        private String created_at;
        private String ok_time;
        private List<GoodsInfoBean> goods_info;
        private int id;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public String getOriginal_price() {
            return original_price;
        }

        public void setOriginal_price(String original_price) {
            this.original_price = original_price;
        }

        public String getPostage() {
            return postage;
        }

        public void setPostage(String postage) {
            this.postage = postage;
        }

        public int getDiscount() {
            return discount;
        }

        public void setDiscount(int discount) {
            this.discount = discount;
        }

        public String getTotal_amount() {
            return total_amount;
        }

        public void setTotal_amount(String total_amount) {
            this.total_amount = total_amount;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getOk_time() {
            return ok_time;
        }

        public void setOk_time(String ok_time) {
            this.ok_time = ok_time;
        }

        public List<GoodsInfoBean> getGoods_info() {
            return goods_info;
        }

        public void setGoods_info(List<GoodsInfoBean> goods_info) {
            this.goods_info = goods_info;
        }

        public static class GoodsInfoBean {
            /**
             * id : 30
             * good_img : http://oss-fang.xiaoxiucai.xyz/good/1600070416GBrgCw.png
             * uid : 7
             * order_id : 30
             * title : 商品1
             * good_num : 1
             * spec_key : 白色
             * integral : 1
             * original_price : 0.01+1积分
             * money : 0.01
             * status : 1
             */

            private int id;
            private String good_img;
            private int uid;
            private int order_id;
            private String title;
            private int good_num;
            private String spec_key;
            private int integral;
            private String original_price;
            private String money;
            private int status;
            private String created_at;
            private int is_sale;
            private int is_review;
            private  String content;

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public int getIs_review() {
                return is_review;
            }

            public void setIs_review(int is_review) {
                this.is_review = is_review;
            }

            public int getIs_sale() {
                return is_sale;
            }

            public void setIs_sale(int is_sale) {
                this.is_sale = is_sale;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getGood_img() {
                return good_img;
            }

            public void setGood_img(String good_img) {
                this.good_img = good_img;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public int getOrder_id() {
                return order_id;
            }

            public void setOrder_id(int order_id) {
                this.order_id = order_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getGood_num() {
                return good_num;
            }

            public void setGood_num(int good_num) {
                this.good_num = good_num;
            }

            public String getSpec_key() {
                return spec_key;
            }

            public void setSpec_key(String spec_key) {
                this.spec_key = spec_key;
            }

            public int getIntegral() {
                return integral;
            }

            public void setIntegral(int integral) {
                this.integral = integral;
            }

            public String getOriginal_price() {
                return original_price;
            }

            public void setOriginal_price(String original_price) {
                this.original_price = original_price;
            }

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }
        }
    }
}
